<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }

    a {
        color: #555555;
        text-decoration: none;
    }

    a:hover {
        text-decoration: none;
    }

    ul {
        list-style: none;
    }

    .con {
        padding-top: 20px;
        width: 280px;
        margin: 0 auto;
    }

    a {
        display: inline-block;
        font-size: 18px;
        margin-left: 50px;
    }
    img{
        margin-left: 80px;
    }
</style>

<body>
    <div class="con">
        <a href="javascript:;" id="H_360">360</a>
        <a href="javascript:;" id="oppo">OPPO</a>
        <a href="javascript:;" id="hw">华为</a>
        <img src="./imgs/360.jpg" alt="" id="img_1" style="display: none">
        <img src="./imgs/OPPO.jpg" alt="" id="img_2" style="display: none">
        <img src="./imgs/hw.jpg" alt="" id="img_3" style="display: none">
    </div>
</body>
<script>
    // H_360.onclick = function () {
    //     img_1.style.display = 'block';//改变显示属性
    //     img_2.style.display = 'none';//改变显示属性
    //     img_3.style.display = 'none';//改变显示属性
    // }
    // oppo.onclick = function () {
    //     img_1.style.display = 'none';//改变显示属性
    //     img_2.style.display = 'block';//改变显示属性
    //     img_3.style.display = 'none';//改变显示属性
    // }
    // hw.onclick = function () {
    //     img_1.style.display = 'none';//改变显示属性
    //     img_2.style.display = 'none';//改变显示属性
    //     img_3.style.display = 'block';//改变显示属性
    // }



</script>

</html>